package java

import (
	"gopkg.in/ini.v1"
)

type Runnable interface {
	Run()
}

type RunnableImpl func()

func (f RunnableImpl) Run() {
	f()
}

var (
	SystemProps *ini.File
)

func SystemGetProperty(key string) string {
	return SystemProps.Section("").Key(key).String()
}
